package com.example.bookshop.service;

import com.example.bookshop.VO.CartItemVO;
import com.example.bookshop.entity.Book;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @auth shanyue
 * @date 2025年06月05日15:15
 */
public interface OrderService {

    List<CartItemVO> getCartItemsForCheckout(String username);

    @Transactional
    String submitOrder(String username);

    List<Book> getBooks();
}
